<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="g" uri="/g-tags"%>
<table>
    <thead>
        <tr>
            <th style="width:40px;"><input type="checkbox" onclick="selects(this)"/></th>
            <th style="width:40px;">ID</th>
            <th><a href="javascript:orderBy('name')">角色名</a></th>
            <th>描述</th>
            <th>添加时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    	<s:iterator value="page.items">
        <tr>
            <td><input type="checkbox" name="ids" value="${name}" /></td>
            <td >${id}</td>
            <td>${name}</td>
            <td>${description}</td>
            <td>${insertTime}</td>
            <td>
            <g:operate title="编辑" url="role/role!edit.shtml?role.id=${id }" type="href"/>
            </td> 
        </tr>
        </s:iterator>
    </tbody>
</table>
<g:page/>